import * as common from './common'
import * as Interface from './interface'
import * as qbShow from './qbShow' // 情报展示系统
import * as user from './user' // 用户管理
const apiObj = {
    ...common,
    // ...home,
    ...Interface,
    ...qbShow,
    ...user
}

const install = function (Vue) {
    if (install.installed) return
    Object.defineProperties(Vue.prototype, {
        $api: {
            get() {
                return apiObj
            }
        }
    })
}
export default {
    install
}
